package com.xbongbong.pro.label.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author guohui.zhang
 * @Title: 标签实体
 * @date 2020/11/39:24
 */
@Getter
@Setter
@ToString
public class LabelPojo implements Serializable {

    private static final long serialVersionUID = -3806749736918572047L;
    /**
     * 标签id id
     */
    private Long id;
    /**
     * 标签名称
     */
    private String name;
    /**
     * 标签颜色
     */
    private String color;

    /**
     * formid
     */
    private Long formId;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 分组名称
     */
    private String groupName;
    /**
     * 分组id
     */
    private Long  groupId;
    /**
     * 标签类型
     */
    private Integer  tabelType;

    public LabelPojo(Long id, String color, String name) {
        this.id= id;
        this.color = color;
        this.name = name;
    }

    public LabelPojo(Long id, String name, String color, Integer sort) {
        this.id = id;
        this.name = name;
        this.color = color;
        this.sort = sort;
    }

    public LabelPojo() {
    }

}
